using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace InvestmentIntelligence.DbModel.Models.Compass
{
    [Table("TradeDetailedView", Schema = "iComply")]
    public class TradeDetailedView
    {
        [Key]
        public Int32 Id { get; set; }
        public DateTime Date { get; set; }

        public Decimal Quantity { get; set; }
        public Decimal? Price { get; set; }
        public Decimal Size { get; set; }
        public decimal SizeOverCapital { get; set; }

        public Int32 FundBookEntityId { get; set; }
        public Int32 SecurityId { get; set; }
        public Int32 UnderlyingSecurityId { get; set; }

        public string SecurityName { get; set; }
        public string UnderlyingSecurityName { get; set; }
        public string FundBookEntityName { get; set; }

        public Int32 CurrencyId { get; set; }

        public decimal PriorReturn { get; set; }

        public decimal PercentageADV { get; set; }
        public decimal PercentageTSO { get; set; }




        public double MaxHeatScore { get; set; }
    }
}